package web;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
 
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.SimpleFormController;

public class AddSemestreController extends SimpleFormController {

	protected final Log logger = LogFactory.getLog(getClass());
	
	 public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response)
	 		throws ServletException, IOException {

		logger.info("formulaire d'ajout de semestre");
//		request.setAttribute("idDomaine", );
//		request.setAttribute("idParcours",);
		request.getParameter("codeSem");
		request.getParameter("libSem");
		request.getParameter("nbCreditsSem");
		request.getParameter("");
		request.getParameter("");
 		return new ModelAndView("addSemestre");
	 }
}
